package com.company.user.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

//import javax.validation.constraints.NotNull;

/**
 * @author lincq
 * @date 2019/9/28 17:10
 */

@ApiModel("分页参数")
public class BasePageReq {

    @ApiModelProperty("页码")
    private Integer page = 1;

    @ApiModelProperty("数据条数")
    private Integer size = 10;

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public Integer getSize() {
        return size;
    }

    public void setSize(Integer size) {
        this.size = size;
    }

    @Override
    public String toString() {
        return "BasePageReq{" +
                "page=" + page +
                ", size=" + size +
                '}';
    }
}
